namespace go monthly.wallet

struct RechargeReq{
    1: i16 pId
    2: double rechargeAmount
    3: string rechargeChannels
}
struct RechargeResp{
    1: i16 code
    2: string message
}
struct WithdrawalReq{
    1: i16 pId
    2: double withdrawalAmount
    3: string withdrawalChannels
}
struct WithdrawalResp{
    1: i16 code
    2: string message
}
service WalletService{
RechargeResp Recharge(1:RechargeReq req)
WithdrawalResp Withdrawal(1:WithdrawalReq req)
}